package schema

type PostListDirSchema struct {
	Desc string `json:"desc"`
	Hostname string `json:"hostname"`
	Dir string `json:"dir"`
	User string `json:"user"`
}

type PostGetLogSchema struct {
	Hostname 		string `json:"hostname"`
	Filename 		string `json:"filename"`
	User 			string `json:"user"`
	Description 	string `json:"description" binding:"required"`
}

type GetLogByTimeSchema struct {
	Hostname 	string 		`json:"hostname" binding:"required"`
	User 		string 		`json:"user" binding:"required"`
	Description 		string 		`json:"description" binding:"required"`
	Time 		string	 	`json:"time" binding:"required"`
	ServerName 	string 		`json:"server_name" binding:"required"`
	LogHead		string		`json:"log_head"`
	LogDir		string		`json:"log_dir"`
}

func (g GetLogByTimeSchema)DD(){}